import request from "@/api/request";
import { type AxiosRequestConfig } from "axios";
import { type DeepRequired, type Community } from "../../interface";

/**
 * /community/create
 */
export function postCommunityCreate(input: Community, config?: AxiosRequestConfig) {
    return request.post<DeepRequired<any>>(`/community/create`, input, config);
}
